<template>
  <div class="template-header">
    <van-nav-bar title="标题" left-text="返回" left-arrow>
      <template #right>
        <van-icon name="search" size="18" />
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
import { NavBar } from 'vant'
export default {
  name: 'TemplateHeader',
  components: {
    'van-nav-bar': NavBar
  }
}
</script>

<style lang="less">
.template-header {
}
</style>
